package io.vertx.example.bean;

import java.io.Serializable;
import java.util.List;

import lombok.Data;

/**
 * @author zhouwenqing 2018-12-29 
 */
@Data
public class DirectConnectBean implements Serializable {

    private static final long serialVersionUID = -211978753405559834L;
    private String host;
    private int port;
    private String listenHost = "0.0.0.0";
    private int clientPort;
    private String configId;
    private String deployId;

    /** 流量拷贝到哪些目标服务器类表*/
    private List<TargetAddr> copyTo;


    @Data
    public static class TargetAddr implements Serializable {
        private String host;
        private int port;
    }

}
